package com.jiyinit.web.core.business.enums;

/**
 * <p></p>
 * <p>
 * <PRE>
 * <BR>	修改记录
 * <BR>-----------------------------------------------
 * <BR>	修改日期			修改人			修改内容
 * </PRE>
 *
 * @author lishaochuan
 * @version 1.0
 * @date 2017/4/19 15:08
 * @since 1.0
 */
public enum ResourceTypeEnum {

    TREE(1, "菜单"),
    FUNCTION(2, "功能");

    ResourceTypeEnum(Integer code, String name) {
        this.code = code;
        this.name = name;
    }


    /**
     * code
     */
    private Integer code;

    /**
     * 名称
     */
    private String name;

    public Integer getCode() {
        return code;
    }

    public String getName() {
        return name;
    }
}
